
<%@ page import="com.bafa.objects.team.Team" %>
 <%@ page import="com.bafa.objects.team.TeamSeasonStats" %>
 <%@ page import="com.bafa.objects.team.TeamStats" %>
 <%@ page import="com.bafa.objects.player.*" %>
 <%@ page import="com.bafa.objects.*" %>
 <%@ page import="com.bafa.middle.*" %>
 <%@ page import="com.bafa.front.presentationbeans.*" %>
<%@ page import="java.util.*" %>
   <% AdminUser admin = (AdminUser)session.getAttribute("LOGGEDON");
   
   
%>
<% Report rules = (Report)request.getAttribute("RULES");   
if(rules==null){rules = new Report();
rules.setReport("");
rules.setAuthor("Author");
rules.setTitle("Headline");}
%>
<%SiteBean siteBean = (SiteBean)session.getAttribute("SITEBEAN");%>

<%String thisPage = "adminhome";%>

<script  src="script/niftycube.js" type="text/javascript" ></script>
	<script>
	NiftyLoad=function(){
	     

Nifty("ul#report h3","top");
Nifty("ul#report div","bottom same-height");

}
</script>
<script language="JavaScript" type="text/javascript" src="wysiwyg.js"></script>

<style type="text/css">
ul#report, ul#report li{margin:0;padding:0;list-style:none}
	ul#report li{float:left;width:455px;margin:0 10px 10px 0}
	ul#report h3{font: bold  Verdana,sans-serif; text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
	ul#report p{margin:0;padding:5px 8px 15px}
	ul#report div{background:#FFFFFF}
	li#report div{border:2px solid #D2D2D2}	
	
</style>


<script>
function gone(form){
   window.location = form.value;
}
</script>


<script type="text/javascript" src="calendarDateInput.js">

/***********************************************
* Jason's Date Input Calendar- By Jason Moon http://calendar.moonscript.com/dateinput.cfm
* Script featured on and available at http://www.dynamicdrive.com
* Keep this notice intact for use.
***********************************************/

</script>





<form method="post" name="resultform" action="addarticle.bafa">
<ul id="report"><li id="report"><h3 class="avlh">Rules</h3>

<input type="hidden" name="id" value="RULES"/>
<input type="hidden" name="author" value="BAFA"/>
<div class="sad">
<textarea id="textarea1"  name="report" style="height: 150px; width: 450px;"><%=rules.getReport()%></textarea>
  <input class='leftbutton' type='submit' name='submit' value='Update' />
  <br/><br/>
  <script language="javascript1.2">
    generate_wysiwyg('textarea1');
  </script>
</div>

  </li>
  </ul>
</form>


